package com.app.yc.ifapp.entity;

/**
 * 作者：TanTun
 * 时间：2017/2/23
 * 邮箱：32965926@qq.com
 * 描述：Api返回结果实体
 */

public class ApiResult<T> {
    private boolean result;

    private String message;

    private T data;

    public void setResult(boolean result){
        this.result = result;
    }
    public boolean getResult(){
        return this.result;
    }
    public void setMessage(String message){
        this.message = message;
    }
    public String getMessage(){
        return this.message;
    }
    public void setData(T data){
        this.data = data;
    }
    public T getData(){
        return this.data;
    }
}
